package com.hjb.service.impl.user;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hjb.service.domain.siteuser.SiteUserAccountLog;
import com.hjb.service.domain.siteuser.SiteUserAccountLogExample;
import com.hjb.service.mapper.SiteUserAccountLogMapper;
import com.hjb.service.user.SiteUserAccountLogService;

@Service
public class SiteUserAccountLogServiceImpl implements SiteUserAccountLogService {

	private Logger log = LoggerFactory.getLogger(SiteUserAccountLogServiceImpl.class);
	
	@Autowired
	private SiteUserAccountLogMapper cmsLinkMapper;

	@Override
	public List<SiteUserAccountLog> selectByExample(SiteUserAccountLogExample example) {
		return cmsLinkMapper.selectByExample(example);
	}

	@Override
	public int insertSiteUserAccountLog(SiteUserAccountLog cmsLink) {
		return cmsLinkMapper.insertSelective(cmsLink);
	}

	@Override
	public void updateSiteUserAccountLog(SiteUserAccountLog cmsLink) {
		cmsLinkMapper.updateByPrimaryKeySelective(cmsLink);
	}
	
}
